
<style>
    #ajax-loaderdiv {position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 35000;background-color: rgba(0, 0, 0, 0.3);display: none;}
    .ajax-loader {position: absolute;left: 50%;top: 50%;margin-left: -16px;margin-top: -16px;display: block;}
</style>
<h4 class="form-signin-heading text-muted"><?php
    echo $control->getAjaxLink(array('name' => '功能列表', 'id' => 'showEventList'), array(
        'cooker' => 'BAEvent@showEventList'
    ));
    ?>\    
    <?php
    echo $control->getAjaxLink('设置首页', array(
        'cooker' => 'BAEvent@showEventHome'
    ));
    ?>\
    <?php
    echo $control->getAjaxLink('设置首页', array(
        'cooker' => 'BAMembership@showSpaceUserRoleList'
    ));
    ?>
    机构用户列表
</h4>
<div class="displayUserInfo">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>用户名</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <?php
            foreach ($spaceUserList as $userId => $user) {
                $userName = $user->getName();
                ?>
                <tr>
                    <td><?php echo $userName; ?></td>
                    <td><?php
                        echo $control->getAjaxLink(array(
                            'name' => '添加角色', 'id' => 'deleteUserRole'), array(
                            'roleId' => $roleId));
                        ?>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
</div>
<div class="displayUserInfo">
    <?php
    echo $control->getAjaxLink('添加用户角色', array(
        'cooker' => 'BAMembershipCooker@showAddSpaceUserRole',
        'htmlOptions' => array(
            'class' => 'btn btn-success'
    )));
    ?>
</div>

